package it.crosato.stage.server.model.retriever;

import static org.junit.Assert.*;

import java.util.Vector;

import it.crosato.stage.shared.exceptions.RetrievingException;
import it.crosato.stage.shared.objects.EntityDefinition;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class OrganismsListRetrieverTest {

	@Test
	public void testGetOrganismsList() {
		Vector<EntityDefinition> organisms = null;
		try {
			organisms = new OrganismsListRetriever().getOrganismsList(604800000);
		}
		catch (RetrievingException e) {	}
		assertTrue(organisms != null && organisms.size() > 0);
	}

	@Before
	public void setUp() {
		
	}
	
	@After
	public void tearDown() {
		
	}
}
